WPO\IPS\Semaphore S

Total Complexity 43
Dependencies 2
Dependents 4
Total lines 413
Lines of code 193
Logical lines of code 88
Comment lines 160
Methods 16
Properties 9

Methods 16

Method Rating Maintainability Complexity Lines of code
lock()
A
43 8 55
log()
S
60 6 13
get_cleanup_action()
S
57 4 17
__construct()
S
65 5 7
ensure_database_initialised()
S
52 3 26
release()
S
59 2 15
count_released_locks()
S
62 2 11
set_loggers()
S
71 2 6
cleanup_released_locks()
S
64 2 10
is_cleanup_scheduled()
S
78 2 3
schedule_semaphore_cleanup()
S
69 2 6
delete()
S
63 1 11
add_logger()
S
80 1 3
get_loggers()
S
82 1 3
get_cleanup_hook_name()
S
80 1 3
init_cleanup()
S
75 1 4